package com.junjie.services;

import com.junjie.entity.RCondition;
import com.junjie.utils.CommonResult;

import java.util.List;

//房间状况的 bean
public interface RConditionService {


    //万能查询接口
    List<RCondition> getRConditions(RCondition rCondition);

    //根据 id rId status 来查询可以null
    RCondition getRConditionByIdRIdStatus(Integer id, Integer rId, Integer status);

    //插入一条房间情况的信息
    CommonResult<Integer> insertRCondition(RCondition rCondition);

    //修改一条数据的方法
    CommonResult<Integer> updateConditionById(RCondition rCondition);

    //删除一条数据的方法
    CommonResult<Integer> deleteConditionById(Integer id);
}
